﻿using HuiLian.Cloud.ViewModel;
using HuiLian.Cloud.View;
using HuiLian.Cloud.ViewModel.Base;
using HuiLian.Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace HuiLian.Cloud.ViewModel
{
    class DepositListWindowViewModel : ViewModelBase
    {
        private List<Order> orders = new List<Order>()
        {
            new Order(){ Id="1", Username = "汪子修", Telphone="13844548115", CreateTime="2020-05-08 23:15:66" },
            new Order(){ Id="2", Username = "汪子修", Telphone="13844548115", CreateTime="2020-06-04 18:55:66" },
            new Order(){ Id="3", Username = "汪子修", Telphone="13844548115", CreateTime="2020-07-07 21:45:66" },
            new Order(){ Id="4", Username = "汪子修", Telphone="13844548115", CreateTime="2020-07-09 18:55:66" },
            new Order(){ Id="5", Username = "汪子修", Telphone="13844548115", CreateTime="2020-08-02 02:35:66" },
            new Order(){ Id="6", Username = "汪子修", Telphone="13844548115", CreateTime="2020-08-01 18:57:66" },
            new Order(){ Id="7", Username = "汪子修", Telphone="13844548115", CreateTime="2020-09-09 02:11:66" },
            new Order(){ Id="8", Username = "汪子修", Telphone="13844548115", CreateTime="2020-09-19 19:50:66" },
        };

        public List<Order> Orders { get { return orders; } set { orders = value; OnPropertyChanged("Orders"); } }
    }
}
